package com.costaccounting.common.core.domain.model;

import com.costaccounting.common.annotation.Excel;
import com.costaccounting.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 类目管理对象 zs_category
 *
 * @author H
 * @date 2021-11-06
 */
public class ZsCategoryVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private String pname;
    /**
     * ID
     */
    private Long id;

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getClCostUnit() {
        return clCostUnit;
    }

    public void setClCostUnit(String clCostUnit) {
        this.clCostUnit = clCostUnit;
    }

    public String getJxCostUnit() {
        return jxCostUnit;
    }

    public void setJxCostUnit(String jxCostUnit) {
        this.jxCostUnit = jxCostUnit;
    }

    public String getClAcwpUnit() {
        return clAcwpUnit;
    }

    public void setClAcwpUnit(String clAcwpUnit) {
        this.clAcwpUnit = clAcwpUnit;
    }

    public String getJxAcwpUnit() {
        return jxAcwpUnit;
    }

    public void setJxAcwpUnit(String jxAcwpUnit) {
        this.jxAcwpUnit = jxAcwpUnit;
    }

    public String getClBudgetUnit() {
        return clBudgetUnit;
    }

    public void setClBudgetUnit(String clBudgetUnit) {
        this.clBudgetUnit = clBudgetUnit;
    }

    public String getJxBudgetUnit() {
        return jxBudgetUnit;
    }

    public void setJxBudgetUnit(String jxBudgetUnit) {
        this.jxBudgetUnit = jxBudgetUnit;
    }

    /**
     * 父类目id
     */
    private Long pid;

    /**
     * 类目名称
     */
    @Excel(name = "类目名称")
    private String name;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer seq;

    /**
     * 类目路径
     */
    private String ancestors;


    /** 人工成本预测单位 */
    @Excel(name = "人工成本预测单位")
    private String costUnit;

    /** 材料成本预测单位 */
    @Excel(name = "材料成本预测单位")
    private String clCostUnit;

    /** 机械成本预测单位 */
    @Excel(name = "机械成本预测单位")
    private String jxCostUnit;

    /** 人工实际费用单位 */
    @Excel(name = "人工实际费用单位")
    private String acwpUnit;

    /** 材料实际费用单位 */
    @Excel(name = "材料实际费用单位")
    private String clAcwpUnit;

    /** 机械实际费用单位 */
    @Excel(name = "机械实际费用单位")
    private String jxAcwpUnit;

    /** 人工工程预算单位 */
    @Excel(name = "人工工程预算单位")
    private String budgetUnit;

    /** 材料工程预算单位 */
    @Excel(name = "材料工程预算单位")
    private String clBudgetUnit;

    /** 机械工程预算单位 */
    @Excel(name = "机械工程预算单位")
    private String jxBudgetUnit;


    /**
     * 帐号状态（0正常 1停用）
     */
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public List<Long> getNoIds() {
        return noIds;
    }

    public void setNoIds(List<Long> noIds) {
        this.noIds = noIds;
    }

    private List<Long> ids;
    private List<Long> noIds;

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getPid() {
        return pid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getAncestors() {
        return ancestors;
    }

    public String getCostUnit() {
        return costUnit;
    }

    public void setCostUnit(String costUnit) {
        this.costUnit = costUnit;
    }

    public String getAcwpUnit() {
        return acwpUnit;
    }

    public void setAcwpUnit(String acwpUnit) {
        this.acwpUnit = acwpUnit;
    }

    public String getBudgetUnit() {
        return budgetUnit;
    }

    public void setBudgetUnit(String budgetUnit) {
        this.budgetUnit = budgetUnit;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("pid", getPid())
                .append("name", getName())
                .append("seq", getSeq())
                .append("ancestors", getAncestors())
                .append("costUnit", getCostUnit())
                .append("clCostUnit", getClCostUnit())
                .append("jxCostUnit", getJxCostUnit())
                .append("acwpUnit", getAcwpUnit())
                .append("clAcwpUnit", getClAcwpUnit())
                .append("jxAcwpUnit", getJxAcwpUnit())
                .append("budgetUnit", getBudgetUnit())
                .append("clBudgetUnit", getClBudgetUnit())
                .append("jxBudgetUnit", getJxBudgetUnit())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
